﻿namespace Resharper.Abstractions.CodeDom.TreeNodes
{
  /// <summary>Defines the <see cref="Range"/> class.</summary>
  public class Range
  {
    #region Constructors and Destructors

    /// <summary>Initializes a new instance of the <see cref="Range"/> class.</summary>
    /// <param name="start">The start.</param>
    /// <param name="end">The end.</param>
    public Range(int start, int end)
    {
      this.Start = start;
      this.End = end;
    }

    #endregion

    #region Properties

    /// <summary>
    /// Gets the end.
    /// </summary>
    public int End { get; private set; }

    /// <summary>
    /// Gets the start.
    /// </summary>
    public int Start { get; private set; }

    #endregion
  }
}